Smartcat\Includes\Services\App\ContentService S

Total Complexity 44
Dependencies 9
Dependents 3
Total lines 443
Lines of code 297
Logical lines of code 124
Comment lines 30
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
importContentV1()
S
45 3 45
getContentToImportV1()
S
53 4 22
import()
S
49 3 33
prepareExportedDataVLatest()
S
54 3 23
mapToLocJson()
S
59 3 15
tryFindTranslatedPost()
S
61 3 14
parse()
S
60 3 13
parseGutenbergContent()
S
58 2 17
duplicateOrOverwritePost()
S
58 2 16
parseMetadata()
S
62 2 12
storeElementorData()
S
71 2 5
storeGutenbergData()
S
71 2 5
getExportedDataValue()
S
67 2 7
storeCustomFields()
S
71 2 5
parseElementorData()
S
61 1 13
addItem()
S
62 1 12
prepareExportedDataV1()
S
65 1 10
__construct()
S
74 1 5
isTranslationExists()
S
81 1 3
mapToTranslatedItems()
S
64 1 10
metaDataJson()
S
71 1 6
bakeryDecode()
S
71 1 6